<template>
  <el-container class="home-container">
    <common-header></common-header>
    <el-container>
      <common-aside></common-aside>
      <el-container>
        <el-main class="home-main">
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
    <el-footer class="home-footer">powered by<a class="mail" href="mailto:sowhat_112#163.com">sowhat_112#163.com</a></el-footer>
  </el-container>
</template>
<script>
import commonHeader from '../../components/common/Header'
import commonAside from '../../components/common/Aside'
export default {
  name: 'home',
  components: {
    commonHeader,
    commonAside
  }
}
</script>
<style lang="scss" scoped>
.home-container {
  height: 100%;
  .home-main {
    background: #fff;
  }
  .home-footer {
    background: #373d41;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    .mail {
      color: #fff;
      margin-left: 6px;
      text-decoration: none;
    }
  }
}
</style>
